<!doctype html>
<html><!-- InstanceBegin template="/Templates/tem.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta charset="utf-8">
<!-- InstanceBeginEditable name="doctitle" -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>电视剧频道</title>
<!-- InstanceEndEditable -->
<!-- InstanceBeginEditable name="head" -->
<!-- InstanceEndEditable -->
<link href="../css/bootstrap-4.3.1.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="../css/style.css">
</head>

<body>
<div class="container-fluid">
  <div class="container">
    <nav class="navbar fixed-top navbar-expand-lg navbar-light bg-light nav_my">
      <div class="container">
        <div class="collapse navbar-collapse" id="navbarSupportedContent1">
          <ul class="navbar-nav mr-auto nav_list">
            <li class="nav-item "> <a class="nav-link fontsize" href="../index.html">首页</a> </li>
            <li class="nav-item "> <a class="nav-link fontsize" href="dyclass.html">电影</a> </li>
            <li class="nav-item "> <a class="nav-link fontsize" href="dsjclass.html">电视剧</a> </li>
            <li class="nav-item active"> <a class="nav-link fontsize" href="#">动漫</a> </li>
          </ul>
          <form class="form-inline my-2 my-lg-0">
            <input class="form-control mr-sm-2" type="search" placeholder="输入关键字" aria-label="Search">
            <button class="btn btn-outline-success my-2 my-sm-0 button tree-default" type="submit"></button>
            <div class="wx tre-default"></div>
            <ul class="navbar-nav mr-auto logo">
              <li class="nav-item active"> <a class="nav-link" href="#">登录</a> </li>
              <li class="nav-item active"> <a class="nav-link" href="#">注册</a> </li>
            </ul>
          </form>
        </div>
      </div>
    </nav>
  </div>
</div>
    
<!-- InstanceBeginEditable name="EditRegion4" -->
    <!-- InstanceEndEditable -->
    
<!-- InstanceBeginEditable name="EditRegion3" -->
<div class="container">
  <div class="fenlei">
          <a href="#" onclick="d(0)"><span>全部</span></a>
         <a href="#" onclick="d(100)"><span>热血</span></a>
        <a href="#" onclick="d(134)"><span>科幻</span></a>
        <a href="#" onclick="d(102)"><span>美少女</span></a>
        <a href="#" onclick="d(109)"><span>魔幻</span></a>
         <a href="#" onclick="d(135)"><span>经典</span></a>
         <a href="#" onclick="d(136)"><span>励志</span></a>
        <a href="#" onclick="d(111)"><span>少儿</span></a>
        <a href="#" onclick="d(107)"><span>冒险</span></a>
        <a href="#" onclick="d(105)"><span>搞笑</span></a>
         <a href="#" onclick="d(137)"><span>推理</span></a>
         <a href="#" onclick="d(101)"><span>恋爱</span></a>
        <a href="#" onclick="d(138)"><span>治愈</span></a>
        <a href="#" onclick="d(106)"><span>幻想</span></a>
        <a href="#" onclick="d(104)"><span>校园</span></a>
         <a href="#" onclick="d(110)"><span>动物</span></a>
        <a href="#" onclick="d(112)"><span>机战</span></a>
        <a href="#" onclick="d(131)"><span>亲子</span></a>
        <a href="#" onclick="d(139)"><span>儿歌</span></a>
         <a href="#" onclick="d(103)"><span>运动</span></a>
         <a href="#" onclick="d(108)"><span>悬疑</span></a>
		 <a href="#" onclick="d(113)"><span>怪物</span></a>
		  <a href="#" onclick="d(115)"><span>战争</span></a>
		  <a href="#" onclick="d(114)"><span>益智</span></a>
		 <a href="#" onclick="d(123)"><span>青春</span></a>
		 <a href="#" onclick="d(121)"><span>童话</span></a>
		 <a href="#" onclick="d(119)"><span>竞技</span></a>
		  <a href="#" onclick="d(126)"><span>动作</span></a>
		  <a href="#" onclick="d(116)"><span>社会</span></a>
		 <a href="#" onclick="d(117)"><span>友情</span></a>
		 <a href="#" onclick="d(127)"><span>真人版</span></a>
		 <a href="#" onclick="d(130)"><span>电影版</span></a>
		  <a href="#" onclick="d(128)"><span>OVA版</span></a>
		  <a href="#" onclick="d(129)"><span>TV版</span></a> 
		 <a href="#" onclick="d(132)"><span>新番动画</span></a>
		  <a href="#" onclick="d(133)"><span>完结动画</span></a>
    </div>
  <div class="row" id="row">
    
      
  </div>
  <div class="page">
    <hr>
    <a href="#" onclick="page(-1)"><span>上一页</span></a>
    <a href="#" onclick="page(1)"><span>下一页</span></a>
    <a href="#" ><span id="page">当前第$页</span></a>
    
    </div>
  
</div>
<!-- InstanceEndEditable -->

<div class="container-fluid footer1">
  <div class="container">
    <h2>VIP电影系统 - 搜索全网vip视频观看</h2>
    <span>加入我们</span> </div>
</div>
<div class="container-fluid footer2">
  <div class="container"> <span>本站提供的最新电影和电视剧资源均系收集于各大视频网站,本站只提供web页面服务,并不提供影片资源存储,也不参与录制、上传</span> <span>若本站收录的节目无意侵犯了贵司版权，请给网页底部邮箱地址来信,我们会及时处理和回复,谢谢。</span> <span>管理员邮箱：admin@abc.com</span> <span>© 2019 VIP电影系统  ICP备xxxx号  本站主题由 【VIP电影系统】 提供</span> </div>
</div>
<script src="../js/jquery-3.3.1.min.js"></script> 
<script src="../js/popper.min.js"></script> 
<script src="../js/bootstrap-4.3.1.js"></script>
<script src="../js/axios.min.js"></script>
<script type="text/javascript">
	var row=document.getElementById("row");
	var pg=document.getElementById("page");
	var list="";
	var ids=0;
	var pages=0;
function page(p){
	if(pages==0&p<0){
		pages=0;
	}else{
		pages+=p;
	}
	
	axios({
	     headers: {
	'Access-Control-Allow-Origin': '*',
	"Access-Control-Allow-Headers": "Content-Type, Content-Length, Authorization, Accept, X-Requested-With , yourHeaderFeild",
	},//设置跨域请求头
	    method: "GET",//请求方式
	      url: "http://127.0.0.1:8080/fenlei?pageno="+pages+"&dsj=-1&dy=-1&dm="+ids//请求地址
	    })
	      .then(function(res) {
	      	//返回值
	        console.log(res.data);
			list="";
	        for(var i=0;i<res.data[0].length;i++){
	        	console.log(res.data[0][i].names)
					list+="<div class='col-lg-2 col-md-2 col-sm-4 col-xs-6 row_a '> <a href='bofang.html?dsj="+res.data[0][i].hrefs+"' class=''><div> <img class='tp' src='"+res.data[0][i].imgs+"' alt=''> </div><div class='row_div2'> <span class='row_span1'>"+res.data[0][i].names+"</span> <span class='row_span2'>"+res.data[0][i].jieshaos+"</span> </div></a> </div>";
			}
			row.innerHTML=list;
			pg.innerText="当前第"+pages+"页";
	      })
	      .catch(function(err) {
	        console.log(err);
	      });	
	
}	
	
function d(id){
	pages=0;
	ids=id;
	
	axios({
	     headers: {
	'Access-Control-Allow-Origin': '*',
	"Access-Control-Allow-Headers": "Content-Type, Content-Length, Authorization, Accept, X-Requested-With , yourHeaderFeild",
	},//设置跨域请求头
	    method: "GET",//请求方式
	      url: "http://127.0.0.1:8080/fenlei?pageno=0&dsj=-1&dy=-1&dm="+id//请求地址
	      
	    })
	      .then(function(res) {
	      	//返回值
	        console.log(res.data);
			list="";
	        for(var i=0;i<res.data[0].length;i++){
	        	console.log(res.data[0][i].names)
					list+="<div class='col-lg-2 col-md-2 col-sm-4 col-xs-6 row_a '> <a href='bofang.html?dsj="+res.data[0][i].hrefs+"' class=''><div> <img class='tp' src='"+res.data[0][i].imgs+"' alt=''> </div><div class='row_div2'> <span class='row_span1'>"+res.data[0][i].names+"</span> <span class='row_span2'>"+res.data[0][i].jieshaos+"</span> </div></a> </div>";
			}
			pg.innerText="当前第1页";
			row.innerHTML=list;
	      })
	      .catch(function(err) {
	        console.log(err);
	      });	
}
axios({
	     headers: {
	'Access-Control-Allow-Origin': '*',
	"Access-Control-Allow-Headers": "Content-Type, Content-Length, Authorization, Accept, X-Requested-With , yourHeaderFeild",
	},//设置跨域请求头
	    method: "GET",//请求方式
	      url: "http://127.0.0.1:8080/fenlei?pageno=0&dsj=-1&dy=-1&dm=0"//请求地址
	      
	    })
	      .then(function(res) {
	      	//返回值
			ids=0;
	        console.log(res.data);
	        for(var i=0;i<res.data[0].length;i++){
	        	console.log(res.data[0][i].names)
					list+="<div class='col-lg-2 col-md-2 col-sm-4 col-xs-6 row_a '> <a href='bofang.html?dsj="+res.data[0][i].hrefs+"' class=''><div> <img class='tp' src='"+res.data[0][i].imgs+"' alt=''> </div><div class='row_div2'> <span class='row_span1'>"+res.data[0][i].names+"</span> <span class='row_span2'>"+res.data[0][i].jieshaos+"</span> </div></a> </div>";
					
			
			}
			pg.innerText="当前第1页";
			 row.innerHTML=list;
	      })
	      .catch(function(err) {
	        console.log(err);
	      });




</script>




</body>
<!-- InstanceEnd --></html>
